from services.errors.base import BaseServiceError

class AccountRegistNotAllowedError(BaseServiceError):
    pass

class AccountNotFoundError(BaseServiceError):
    def __init__(self, account_id: str | None = None):
        super().__init__(account_id)
        self.account_id = account_id

class NeedEmailOrPhoneError(BaseServiceError):
    pass

class AccountRegisterError(BaseServiceError):
    pass


class AccountLoginError(BaseServiceError):
    pass


class AccountPasswordError(BaseServiceError):
    pass


class AccountNotLinkTenantError(BaseServiceError):
    pass


class CurrentPasswordIncorrectError(BaseServiceError):
    pass


class LinkAccountIntegrateError(BaseServiceError):
    pass


class AccountAlreadyInTenantError(BaseServiceError):
    pass


class InvalidActionError(BaseServiceError):
    pass


class CannotOperateSelfError(BaseServiceError):
    pass


class NoPermissionError(BaseServiceError):
    pass


class MemberNotInTenantError(BaseServiceError):
    pass


class RoleAlreadyAssignedError(BaseServiceError):
    pass


class RateLimitExceededError(BaseServiceError):
    pass

class NotLoginError(BaseServiceError):
    pass

class RobotUserParameterError(BaseServiceError):
    def __init__(self, message: str | None = None):
        super().__init__(message)


class RobotUserUpdateError(BaseServiceError):
    def __init__(self, message: str | None = None):
        super().__init__(message)
